<template>
  <el-header>
    <el-row class="header" type="flex" align="middle" justify="space-between">
      <div class="left">
        <i class="el-icon-s-fold" />
        HARVEST TIME
      </div>
      <el-row type="flex" align="middle" class="right">
        <el-col><i class="el-icon-user" />张三</el-col>
        <el-button type="primary" icon="el-icon-switch-button" size="small">
          退出登录
        </el-button>
      </el-row>
    </el-row>
  </el-header>
</template>

<script>
export default {
  name: 'HeaderCom',
  props: {
    msg: String
  }
}
</script>

<style lang="scss" scoped>
.el-header {
  .header {
    height: 100%;

    .right {
      font-size: 17px;

      .el-col {
        margin-right: 15px;
        border-right: 1px solid #c0c4cc;
        padding-right: 15px;

        i {
          margin-right: 5px;
        }
      }
    }
  }
}
</style>
